From eb98fc9466ef9afe8fc1daacafd57ea08c575102 Mon Sep 17 00:00:00 2001 From: robertl Date: Tue, 6 May 2003 22:11:14 +0000 Subject: [PATCH] Shorten WPT line to make it less likely to trigger bug in Meridian flash file parsing in the firmware of the unit. git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@352 f51c46e8-681c-474f-0cfe-069cfd0219fb --- gpsbabel/magproto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpsbabel/magproto.c b/gpsbabel/magproto.c index 9b89ace7b..ff2f6f085 100644 --- a/gpsbabel/magproto.c +++ b/gpsbabel/magproto.c @@ -1181,7 +1181,7 @@ mag_waypt_pr(const waypoint *waypointp) odesc = mag_cleanse(odesc); } - sprintf(obuf, "PMGNWPL,%4.3f,%c,%09.3f,%c,%07.lf,M,%-.8s,%-.30s,%s", + sprintf(obuf, "PMGNWPL,%4.3f,%c,%09.3f,%c,%.lf,M,%-.8s,%-.30s,%s", lat, ilat < 0 ? 'S' : 'N', lon, ilon < 0 ? 'W' : 'E', waypointp->position.altitude.altitude_meters == unknown_alt ? -- 2.30.2